package org.mte.sak.sort;

import org.mte.sak.sort.comparator.Comparator;

/**
 * This interface is to sort with an abstract algorithm.
 *
 * @author unknown
 * @version $Revision: 1.1 $ $Date: 2011-04-18 08:38:01 $
 *
 */
public interface Sortable {

   /**
     * The sort function.
     *
     * @param keys the array with all keys.
     * @param objs the array with all objects.
     * @param start the start offset in the array.
     * @param end the end offset in the array.
     * @param comp The comparaison function between objects.
     */
	public void sort(Object[] keys, Object[] objs, int start, int end, Comparator comp);

	/**
     * The sort function.
     *
     * @param keys the array with all keys.
     * @param objs the array with all objects.
     * @param comp The comparaison function between objects.
     */
	public void sort(Object[] keys, Object[] objs, Comparator comp);
}
